setShape

abstract fun setShape(block: DesignBlock, shape: DesignBlock)

Sets the block containing the shape properties of the given block. Note: The previous shape block is not destroyed automatically. Required scope: "shape/change"

Parameters

block

the block whose shape should be changed.

shape

the new shape.